FLATPAK BUILD-INIT(1) | flatpak build-init | FLATPAK BUILD-INIT(1) |
NAME¶
flatpak-build-init - Initialize a build directory
SYNOPSIS¶
flatpak build-init [OPTION...] DIRECTORY APPNAME SDK RUNTIME [BRANCH]
DESCRIPTION¶
Initializes a separate build directory. DIRECTORY is the name of the directory. APPNAME is the application id of the app that will be built. SDK and RUNTIME specify the sdk and runtime that the application should be built against and run in. BRANCH specify the version of sdk and runtime
Initializes a directory as build directory which can be used as target directory of flatpak build. It creates a metadata inside the given directory. Additionally, empty files and var subdirectories are created.
It is an error to run build-init on a directory that has already been initialized as a build directory.
OPTIONS¶
The following options are understood:
-h, --help
--arch=ARCH
-v, --var=RUNTIME
-w, --writable-sdk
--tag=TAG
--sdk-extension=EXTENSION
--extension=NAME=VARIABLE[=VALUE]
--sdk-dir
--update
--base=APP
--base-version=VERSION
--base-extension=EXTENSION
--type=TYPE
--extension-tag=EXTENSION_TAG
--verbose
--ostree-verbose
EXAMPLES¶
$ flatpak build-init /build/my-app org.example.myapp org.gnome.Sdk org.gnome.Platform 3.36
SEE ALSO¶
flatpak(1), flatpak-build(1), flatpak-build-finish(1), flatpak-build-export(1)
flatpak |